<?php
//$cars = array();

// define array
$cars[1] = 'Ferrari';
$cars[2] = 'Porsche';
$cars[367] = 'Jaguar';
$cars[] = 'Lamborghini';
$cars[0] = 'Mercedes';
$cars[7] = 'Deepak';
$cars[] = 'Maruti';
$cars[2] = 'Bajaj';

print_r($cars);

